package cn.wl.crm.domain;

import cn.wl.basic.domain.BaseDomain;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;
@Data
public class Setted extends BaseDomain{
    //维修订单id
    private Long order_id;
    private Long pay_id;
    //客户姓名
    private String custormer;
    //应付金额
    private BigDecimal re_amount;
    //实付金额
    private BigDecimal pay_amount;
    //支付方式
    private PayType payType;
    //结算时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")//前端传过来的日期转换
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")//后端查询出来传回前端的日期转换
    private Date settedTime = new Date();
    //地址
    private String address;

}
